package org.patterns.behavior.interpreter;


public class Client {
    public static void main(String[] args) {
        String instruction = "up move 5米 and down run 10米 and left move 5米";
        InstructionHandler handler = new InstructionHandler();
        handler.handle(instruction);
        String outString = handler.output();
        System.out.println(outString);
    }
}
